﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%
    if (Request.IsAuthenticated) {
%>
        Здравей, 
            <b><%= Html.ActionLink(Page.User.Identity.Name, "AccountView", "Account" )%></b>!
        [ <%= Html.ActionLink("Изход", "LogOff", "Account") %> ]
<%
    }
    else {
%> 
        [ <%= Html.ActionLink("Вход", "LogOn", "Account") %> ]
<%
    }
%>
